Search the reference...
/
method
Calls session.close() and returns a promise that fulfills when the session has closed.
session.close()